package com.wellwan.cloud.configuration;

import com.netflix.client.config.IClientConfig;
import com.netflix.loadbalancer.ConfigurationBasedServerList;
import org.springframework.cloud.netflix.ribbon.RibbonClients;

/**
 * Copyright (C),微动天下
 * FileName: RibbonClientDefaultConfigationTestsConfig
 * Author:   maokai
 * Date:     2020/2/22 16:23
 * Description: RibbonClient 全局配置
 */
@RibbonClients(defaultConfiguration = DefaultRibbonConfig.class)
public class RibbonClientDefaultConfigurationTestsConfig {
    public static class BazServiceList extends ConfigurationBasedServerList{
        public BazServiceList(IClientConfig config) {super.initWithNiwsConfig(config);
        }
    }
}
